defined_text = {
	name = GetCRMarriageDraftForm
	use_first_valid = yes

	text = { trigger = { has_character_flag = cr_marriage_term_patrilineal } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_PATRILINEAL }
	text = { trigger = { has_character_flag = cr_marriage_term_matrilineal } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_MATRILINEAL }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageDraftAuthorReligion
	use_first_valid = yes

	text = { trigger = { has_character_flag = cr_marriage_author_keep_religion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_AUTHOR_KEEP }
	text = { trigger = { has_character_flag = cr_marriage_author_personal_conversion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_AUTHOR_PERSONAL }
	text = { trigger = { has_character_flag = cr_marriage_author_realm_conversion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_AUTHOR_REALM }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageDraftRecipientReligion
	use_first_valid = yes

	text = { trigger = { has_character_flag = cr_marriage_recipient_keep_religion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_RECIPIENT_KEEP }
	text = { trigger = { has_character_flag = cr_marriage_recipient_personal_conversion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_RECIPIENT_PERSONAL }
	text = { trigger = { has_character_flag = cr_marriage_recipient_realm_conversion } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_RECIPIENT_REALM }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageDraftPolitical
	use_first_valid = yes

	text = { trigger = { has_character_flag = cr_marriage_author_stays_independent } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_INDEPENDENT }
	text = { trigger = { has_character_flag = cr_marriage_author_offers_vassalization } localisation_key = CR_MARRIAGE_LEDGER_DRAFT_VASSALIZATION }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageReceivedForm
	use_first_valid = yes

	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_term_patrilineal } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_PATRILINEAL }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_term_matrilineal } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_MATRILINEAL }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageReceivedAuthorReligion
	use_first_valid = yes

	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_author_keep_religion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_AUTHOR_KEEP }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_author_personal_conversion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_AUTHOR_PERSONAL }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_author_realm_conversion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_AUTHOR_REALM }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageReceivedRecipientReligion
	use_first_valid = yes

	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_recipient_keep_religion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_RECIPIENT_KEEP }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_recipient_personal_conversion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_RECIPIENT_PERSONAL }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_recipient_realm_conversion } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_RECIPIENT_REALM }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}

defined_text = {
	name = GetCRMarriageReceivedPolitical
	use_first_valid = yes

	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_author_stays_independent } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_INDEPENDENT }
	text = { trigger = { event_target:cr_marriage_offer_author = { has_character_flag = cr_marriage_author_offers_vassalization } } localisation_key = CR_MARRIAGE_LEDGER_RECEIVED_VASSALIZATION }
	text = { trigger = { always = yes } localisation_key = CR_MARRIAGE_LEDGER_UNSET }
}
